#!/usr/bin/python
#Filename: func_global.py

def func():
	global x;
	print 'x is', x
	x = 2
	print 'global x is set to', x

x = 255
func()
print 'x is', x

	
